package net.techwatch.gwt.mvp.client;

import com.google.gwt.user.client.ui.HasHTML;

public class MockHasHTML implements HasHTML {

	private String lastHTML;
	
	@Override
	public String getHTML() {
		return lastHTML;
	}

	@Override
	public void setHTML(String html) {
		lastHTML = html;
	}

	@Override
	public String getText() {
		return getHTML();
	}

	@Override
	public void setText(String text) {
		setHTML(text);
	}

}
